package com.yuqih.common.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface FetchOneRule {
	
	
	/**
	 * 类似于manytoone的时候的joincolumn
	 * 
	 * 模型的关联属性名
	 * 
	 * @return
	 */
	String propertyName();
	
}